<template>
	<view class="homebox">
		<view class="" v-for="(item,index) in vuexcouall" :key="index" @click="cezhanid(item)">
			<view class="curbentopaa">
				流速仪参数
			</view>
			<view class="curbenconflxaa">
				<view class="curbenpaiaa">
					<view class="curbenconaa">
						<view class="nubbb" >
							转数比：
						</view>
						<view class="">
							{{item.counterr}}
						</view>
					</view>
					<view class="curbenconaa">
						<view class="nubbb" >
							参数a：
						</view>
						<view class="">
							{{item.countera}}
						</view>
					</view>
					<view class="curbenconaa">
						<view class="nubbb" >
							参数b：
						</view>
						<view class="">
							{{item.counterb}}
						</view>
					</view>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				vuexcouall:[],
				vuexcouform:{}
			}
		},
		onShow() {
			this.vuexcouform = this.vuex_couform
			this.vuexcouall.push(this.vuexcouform)
			console.log('数据',this.vuex_couform);
		},
		onUnload(){
			this.vuexcouall.length = 0
		},
		methods: {
			cezhanid (item){
				console.log('item',item);
				// uni.$u.vuex('vuex_couformshow',item)
				// uni.navigateTo({
				// 	url: '/pages/aproduct/liusuyishow'
				// });
			},
		}
	}
</script>
<style scoped lang="scss">
	.curben {
		width: 580rpx;
		// margin: 30rpx auto;
		border-radius: 20rpx;
		// background-color: #ff481a;
	
		.curbenconflx {
			display: flex;
			justify-content: space-between;
			align-items: center;
			flex-wrap: wrap;
			padding: 20rpx;
	
			.curbencon {
				width: 260rpx;
				display: flex;
				line-height: 50rpx;
				font-size: 30rpx;
				// background-color: #370fba;
				.nubbb {
				width: 230rpx;
				color: #0aba8c;
				background-color: #55aa00;
			}
			}
		}
	}
	.curbentop {
		width: 580rpx;
		// height: 60rpx;
		margin: 0 auto;
		line-height: 60rpx;
		font-size: 30rpx;
		border-bottom: #dfdfdf solid 1rpx;
		text-align: center;
		color: #0aba8c;
		// background-color: #ffeb4c;
	
	}
	.curbentopaa {
		width: 640rpx;
		height: 60rpx;
		margin: 0 auto;
		line-height: 60rpx;
		font-size: 30rpx;
		border-bottom: #dfdfdf solid 1rpx;
		text-align: center;
		color: #0aba8c;
	}
	.curbenconflxaa {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		padding: 20rpx;
		background-color: #ffffff;
		margin: 30rpx 0;
		border-radius: 0 0 20rpx 20rpx;
	
		.curbenpaiaa {
			width: 650rpx;
			display: flex;
			justify-content: space-between;
			flex-wrap: wrap;
	
			.curbenconaa {
				width: 250rpx;
				line-height: 40rpx;
				font-size: 30rpx;
				display: flex;
				align-items: center;
				
				.nubbb {
					width: 230rpx;
					color: #0aba8c;
				}
				
			}
		}
	}
	.homebox {
		position: relative;
	}

</style>
<style>
	page {
		background-color: #eaeaea;
	}
</style>